﻿using System;
using System.Collections.Generic;
using System.Text;
using RegionInterface;
namespace Common
{
    public interface INetworkModule
    {
        void RegisterNetworkHandle(INetwork module);
        void SendNetworkMessage(ServerType server, Action<DataObject> messageHandle);
        void OpenServer(ServerType server, string serverIp, int port, int background, string doMain);
        void CloseServer(ServerType server);
        void PlayerLogin(ServerType server, int id, string name, string para);
        void GetRegionPlayers();
        void GetRegionNextPlayer();
    }
}
